<template>
    <el-main>
        <el-main class="ep-body">
			<epl-top-bar :datas="{formData:form}" showPerson personType="PERSON_ALL_EXACT" psTagType="PERSON_INJURY_QUERY">
                <ep-button size="small" name="刷新"></ep-button>
            </epl-top-bar>
			<epl-userMessage dataType="person" idCount="1" >
            </epl-userMessage>
 			<el-card class="ep-card">
            <el-form :model="form" ref="form" :rules="rules">
               <ep-title>请输入被委托事项信息</ep-title>
                        <el-row :gutter="10">
                                <ep-select colspan="8" label="委托地行政区划" name="aab301" :property="form.aab301" placeholder="请选择行政区划"
                                           p="R" :datas="{formData: form}" codetype="AAB301" ></ep-select>
                                <ep-input colspan="8" label="委托部门" name="blc572" :property="form.blc572" placeholder="请输入委托部门"
                                           p="R"  :datas="{formData: form}"></ep-input>
                                <ep-date colspan="8" label="委托日期"  name="aae030" :property="form.aae030" placeholder="请选择委托日期"
                                           p="R" :datas="{formData:form}" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"  rules="this.$rules.test_noBlank"></ep-date>
                         </el-row>
                         <el-row :gutter="10">
                               <ep-input colspan="8" label="委托内容" name="blc573" :property="form.blc573" placeholder="请输入委托内容"
                                           p="R"  :datas="{formData: form}"></ep-input>
                                <ep-input colspan="8" label="委托联系人" name="aae004" :property="form.aae004" placeholder="请输入委托联系人"
                                           p="R"  :datas="{formData: form}"></ep-input>
                                <ep-input colspan="8" label="联系电话" name="aae005" :property="form.aae005" placeholder="请输入联系电话"
                                           p="R"  :datas="{formData: form}"></ep-input>
                           </el-row>
                 <ep-title>请输入工伤职工信息</ep-title>
                        <el-row :gutter="10">
                                <ep-input  label="人员编号" name="lc61aac001" :property="form.lc61aac001"
                                           p="H"  :datas="{formData: form}"></ep-input>
                                <ep-input colspan="8" label="姓名" name="aac003"  :property="form.aac003" placeholder="请输入姓名"
                                           p="R"  :datas="{formData: form}"  rules="this.$rules.test_noBlank"></ep-input>
                                <ep-select colspan="8" label="性别" name="aac004" :property="form.aac004" placeholder="请选择性别"
                                           p="E" :datas="{formData: form}" codetype="AAC004" ></ep-select>
                                <ep-select colspan="8" label="民族" name="aac005" :property=" form.aac005" placeholder="请选择民族"
                                           p="E" :datas="{formData: form}" codetype="AAC005"  ></ep-select>
                       </el-row>
                            <el-row :gutter="10">
                               <ep-select colspan="8" label="证件类型" name="aac058" :property="form.aac058" placeholder="请选择证件类型"
                                  p="R" :datas="{formData:form}" codetype="AAC058" rules="this.$rules.test_noBlank" ></ep-select>
                                <ep-input colspan="8" label="证件号码" name="aac147" :property="form.aac147" placeholder="请输入证件号码" 
                                          p="R"  :datas="{formData: form}" isChange   rules="this.$rules.test_noBlank"></ep-input>
                                <ep-input colspan="8" label="家庭地址" name="aae006" :property="form.aae006" placeholder="请输入家庭地址"
                                          p="E" :datas="{formData: form}"  rules="this.$rules.test_noBlank"></ep-input>
                            </el-row>
                            <el-row :gutter="10">
                                <ep-input colspan="8" label="联系电话" name="aae005" :property="form.aae005" placeholder="请输入联系电话"
                                          p="R" :datas="{formData: form}"></ep-input>
                                <ep-input colspan="8" label="邮政编码" name="aae007" :property="form.aae007" placeholder="请输入邮政编码"
                                          p="E" :datas="{formData: form}"></ep-input>
                            </el-row>
                  <ep-title>请输入单位信息</ep-title> 
                    <el-row :gutter="20">
                        <ep-input colspan="8" label="单位名称" name="aab069" :property="form.aab069" placeholder="请输入单位名称"
                                  p="R" :datas="{formData:form}"></ep-input>
                        <ep-input colspan="8" label="联系人" name="aae004" :property="form.aae004" placeholder="请输入联系人"
                                  p="E" :datas="{formData:form,panel:panel}" isChange></ep-input>
						<ep-input colspan="8" label="联系电话" name="bae566" :property="form.bae566" placeholder="请输入联系电话"
                                  p="E" :datas="{formData:form,panel:panel}" isChange  rules="this.$rules.test_noBlank"></ep-input>
                       </el-row>
					<el-row :gutter="20">
					    <ep-input colspan="8" label="联系地址" name="aae006" :property="form.aae006" placeholder="请输入联系地址"
                                  p="E" :datas="{formData:form,panel:panel}" isChange  rules="this.$rules.test_noBlank"></ep-input>
                        <ep-input colspan="8" label="邮编" name="aae007" :property="form.aae007" placeholder="请输入邮编"
                                  p="E" :datas="{formData:form,panel:panel}" isChange></ep-input>
						<ep-input colspan="8" label="法人代表" name="aab013" :property="form.aab013" placeholder="请输入大人代表"
                                  p="E" :datas="{formData:form,panel:panel}" isChange></ep-input>
                       </el-row>
               <ep-title>请输入工伤事故信息</ep-title>
                    <el-row :gutter="20">
                        <ep-select colspan="8" label="工伤类别" name="blc027" :property="form.blc027" placeholder="请选择工伤类别"
                                  p="R" :datas="{formData:form}" codetype="BLC027" isChange  rules="this.$rules.test_noBlank"></ep-select>
                      	<ep-select colspan="8" label="伤害程度" name="alc021" :property="form.alc021" placeholder="请选择伤害程度"
                                  p="E" :datas="{formData:form}" codetype="ALC021"  rules="this.$rules.test_noBlank"></ep-select>
                       <ep-select colspan="8" label="职业(工种)" name="aca111" :property="form.aca111" placeholder="请选择职业"
                                  p="E" :datas="{formData:form}" codetype="ACA111"  rules="this.$rules.test_noBlank"></ep-select>
                        </el-row>    
                    <el-row :gutter="20">
                         <ep-select colspan="8" label="伤害部位1" name="alc042" :property="form.alc042" placeholder="请选择伤害部位"
                                  p="E" :datas="{formData:form}" codetype="ALC042"   rules="this.$rules.test_noBlank"></ep-select>
                        <ep-select colspan="8" label="伤害部位2" name="alc043" :property="form.alc043" placeholder="请选择伤害部位"
                                  p="E" :datas="{formData:form}" codetype="ALC043" ></ep-select>
                        <ep-select colspan="8" label="伤害部位3" name="alc044" :property="form.alc044" placeholder="请选择伤害部位"
                                  p="E" :datas="{formData:form}" codetype="ALC044" ></ep-select>
                    </el-row>
                     <el-row :gutter="20">
						<ep-select colspan="8" label="伤害部位4" name="alc046" :property="form.alc046" placeholder="请选择伤害部位"
                                  p="E" :datas="{formData:form}" codetype="ALC046" ></ep-select>
                        <ep-select colspan="8" label="伤害部位5" name="alc047" :property="form.alc047" placeholder="请选择伤害部位"
                                  p="E" :datas="{formData:form}" codetype="ALC047" ></ep-select>
                    </el-row>
                    <el-row :gutter="20">
					<ep-textarea colspan="24" label="伤害部位描述" name="alc022" :property="form.alc022" placeholder="请输入伤害部位描述"
                                  p="E" :datas="{formData:form}"></ep-textarea>
					</el-row>      
               <el-row :gutter="20">
						<ep-select colspan="8" label="事故类别" name="ala028" :property="form.ala028" placeholder="请选择事故类别"
                                  p="R" :datas="{formData:form}" codetype="ALA028" ></ep-select>
                        <ep-input colspan="8" label="事故地点" name="blb003" :property="form.blb003" placeholder="请输入事故地点"
                                  p="R" :datas="{formData:form}" isChange></ep-input>
                         <ep-date colspan="8" label="事故时间"  name="alc020" :property="form.alc020" placeholder="请选择事故地点"
                                  p="R" :datas="{formData:form}" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"  rules="this.$rules.test_noBlank"></ep-date>
                    </el-row>
                  <el-row :gutter="20">
                        <ep-textarea colspan="24" label="伤害事件情况" name="alc006" :property="form.alc006" placeholder="请输入伤害事件情况"
                                  p="R" :datas="{formData:form}" rows="2" ></ep-textarea>
                    </el-row>
                 
					<el-row :gutter="20">
                        <ep-input colspan="16" label="诊断机构" name="alc030" :property="form.alc030" placeholder="请输入诊断机构"
                                  p="R" :datas="{formData:form}" isChange  rules="this.$rules.test_noBlank"></ep-input>
                       <ep-date colspan="8" label="首诊日期"  name="aae030" :property="form.aae030" placeholder="请选择首诊日期"
                                      p="R" :datas="{formData:form}" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                     </el-row>
                     <el-row :gutter="20">
                        <ep-textarea colspan="24" label="医疗救治的基本情况和诊断意见" name="blc508" :property="form.blc508" placeholder="请输入医疗救治的基本情况和诊断意见"
                                  p="R" :datas="{formData:form}" rows="2" ></ep-textarea>
                    </el-row>
                    <el-row :gutter="20">
                        <ep-date colspan="8" label="因工死亡日期"  name="alc040" :property="form.alc040" placeholder="请选择因工死亡日期"
                                      p="E" :datas="{formData:form}" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                    </el-row>
					<el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" top="20" type="primary" bottom="20" ref="save"
                                      @formValidate="formValidate"
                                       :validate="['form']"
                                       :datas="{formData: form,panel:panel}" name="保存"></ep-saveButton>
                         <ep-Button id="" top="20" type="primary" bottom="20"
                                   name="清空"></ep-Button>              
                    </el-row>
                </el-form>
                </el-card>
        </el-main>
    </el-main>
</template>

<script src="../js/NonlocalInvestRegJS.js"></script>
